import { createApp } from "vue";
import App from "./App.vue";
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import "virtual:svg-icons-register";
import plugin from "@/plugins";
import "@/styles/index.less";
import router from "./router";
import pinia from "./store";
import "@/router/guard";
import "element-plus/theme-chalk/dark/css-vars.css";

const app = createApp(App);

app.use(ElementPlus, {
  locale: zhCn,
});
app.use(plugin);
app.use(router);
app.use(pinia);

app.mount("#app");
